package com.crm.dao.mapper.customMapper.customerManagerCustomMapper;

import com.crm.model.entity.customerManager.Customer;
import com.crm.model.entity.customerManager.CustomerProductDetailMemberCard;
import com.crm.model.entity.customerManager.CustomerProductDetailMemberCardRawData;
import com.crm.model.qo.customerManager.AnalyseCustomerQO;
import com.crm.model.qo.customerManager.CustomerQO;
import com.crm.model.qo.customerManager.MoveCustomerQO;
import com.crm.model.vo.contactManager.IndustryAreaVO;
import com.crm.model.vo.csd.customerManager.CustomerMemberCardDetailVO;
import com.crm.model.vo.customerManager.*;
import com.crm.model.vo.datasearch.DataSearchResultVO;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @ Author ：pym
 * @ Date   ：2021/1/18 15:58
 */
public interface CustomerProductDetailMemberCardRawDataCustomMapper {

    /**
     * 查询导入会员卡的数据
     * @return
     */
    List<CustomerProductDetailMemberCardRawDataVO> selectCardDataRaw();

    /**
     * 根据时间段查询会员卡信息补全accountId
     * @param startTm 开始时间
     * @param endTm 结束时间
     * @return
     */
    List<CustomerProductDetailMemberCard> selectTimeEndCardData(@Param("startTm") String startTm,@Param("endTm") String endTm);
}
